﻿using EPiServer.Core;
using EPiServer.DataAbstraction;
using PageTypeBuilder;
using SocialPack.Composer.PageTypes.Tabs;

namespace SocialPack.Composer.PageTypes.Facebook
{
    [PageType("dc2dd938-4f29-46b1-9763-cc420a13407c", Filename = "/modules/socialpack/composer/functions/facebook/livestream.ascx", AvailableInEditMode = false, Name = "[Facebook] Live Stream", Description = "Facebook Live Stream")]
    public class LiveStream : FunctionBase
    {
        [PageTypeProperty(Tab = typeof(ComposerTab), DefaultValueType = DefaultValueType.Value, DefaultValue = "400")]
        public virtual int Width { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), DefaultValueType = DefaultValueType.Value, DefaultValue = "500")]
        public virtual int Height { get; set; }

        [PageTypeProperty(EditCaption = "Country code", Tab = typeof(ComposerTab), DefaultValue = "en_US", DefaultValueType = DefaultValueType.Value, Type = typeof(PropertyString))]
        public virtual string CountryCode { get; set; }

        [PageTypeProperty(EditCaption = "Application Id", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string ApplicationId { get; set; }
    }
}